package com.wzdigit.wms.basic.mapper.core.inventory;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.domain.inventory.GoodsPkg;
import org.apache.ibatis.annotations.Param;

@MyBatisRepository
public interface GoodsPkgMapper extends BaseMapper<GoodsPkg> {
    /**
     * 获取URL路径
     * @param pkgId
     * @return
     */
    String selectUrlById(@Param("pkgId") Integer pkgId);

    /**
     * 获取ID
     * @return
     */
    Integer selectSeuences();

    void updateUrlByGoodsPkgId(@Param("pkgId") Integer pkgId,@Param("updateUrl") String updateUrl);
}
